package com.hc.tenant.domain;

import java.math.BigDecimal;
import com.hc.common.core.annotation.Excel;
import com.hc.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * gps定位信息对象 t_gps_location
 * 
 * @author yjz
 * @date 2021-04-09
 */
public class GpsLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** gps定位ID */
    private Long gpsLocationId;

    /** 用户ID */
    private Long userId;
    /** 经度 */
    private BigDecimal longitude;

    /** 纬度 */
    private BigDecimal latitude;

    /** 高度 */
    private BigDecimal height;

    public void setGpsLocationId(Long gpsLocationId) 
    {
        this.gpsLocationId = gpsLocationId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public Long getGpsLocationId() 
    {
        return gpsLocationId;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setHeight(BigDecimal height) 
    {
        this.height = height;
    }

    public BigDecimal getHeight() 
    {
        return height;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("gpsLocationId", getGpsLocationId())
            .append("userId", getUserId())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("height", getHeight())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
